
package com.yb.guigu.pick.auth.bean.vo.request;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;
import java.util.List;

/**
 * Copyright (C), 2022-2023, 姚兵
 * Author: 32210
 * Date: 2023/6/4 13:21
 * FileName: SysRouteDTO
 * Description:
 */

@Data
public class RouteCreateRequest {


    @NotEmpty
    private String name;

    @NotEmpty
    private String title;

    private String remark;

    @NotEmpty
    private String path;

    @NotEmpty
    private String component;

    @NotNull
    private Integer isMenu;

    private String icon;

    private String redirect;


    private String meta;

    private Integer sort;

    @NotNull
    private Integer level;

    private Integer isAuth;

    @NotNull
    private Integer parentId;


    SysPermissionCreateVo permission;

}
